﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EasyToHelp.Entity
{
    public class TableManageField
    {
        /// <summary>
		/// 
		/// </summary>
		public int Id {set; get;}
        /// <summary>
        /// 
        /// </summary>
        public string ChineseName { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string EnglishName { set; get; }

        public string Msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TypeLength { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public int PId { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string FieldType { set; get; }
        /// <summary>
        /// 表名
        /// </summary>
        public string CodeName { set; get; }
        /// <summary>
        /// 业务名称
        /// </summary>
        public string BusinessName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool IsPkName { set; get; }
        /// <summary>
        /// 是否是主键
        /// </summary>
        public bool IsSearchPkName { set; get; }
        /// <summary>
        /// 是否是外键
        /// </summary>
        public bool IsFkName { get; set; }
        /// <summary>
        /// 是否是标题
        /// </summary>
        public bool IsTitle { set; get; }
        /// <summary>
        /// 非常规控件使用
        /// </summary>
        public string TextFieldName { get; set; }
        /// <summary>
        /// 非常规控件使用
        /// </summary>
        public string VauleFieldName { get; set; }
        /// <summary>
        /// 非常规控件使用
        /// </summary>
        public string SqlQuery { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int SortOrder { get; set; }
    }
}
